//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package org.ares.app.demo.entities.sand;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@Entity
@Table(
        name = "road_map_address"
)
@NamedQuery(
        name = "Stravelroadaddress.findAll",
        query = "SELECT s FROM Stravelroadaddress s"
)
public class Stravelroadaddress implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    private int id;
    private String map_address;
    @ManyToOne
    @JoinColumn(
            name = "rid"
    )
    private Stravelmetro sTravelmetro;

    public Stravelroadaddress() {
    }

    public int getId() {
        return this.id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMap_address() {
        return this.map_address;
    }

    public void setMap_address(String map_address) {
        this.map_address = map_address;
    }

    public String toString() {
        return "Stravelroadaddress [id=" + this.id + ", map_address=" + this.map_address + ", sTravelmetro=" + this.sTravelmetro + "]";
    }
}
